package com.yanqu.road.logic.bussiness.servercenter;

import com.yanqu.road.entity.servercenter.*;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class ChannelBussiness {

    public static List<ChannelVersion> getChannelVersionList() {
        return DaoHelper.getChannelVersionDaoImpl().getChannelVersionList();
    }

    public static List<PackageMark> getPackageMarkList(){
        return DaoHelper.getPackageMarkDaoImpl().getPackageMarkList();
    }

    public static List<PackageVersion> getPackageVersionList(){
        return DaoHelper.getPackageVersionDaoImpl().getPackageVersionList();
    }

    public static List<HotPackVersion> getHotPackVersionList(){
        return DaoHelper.getHotPackVersionDaoImpl().getHotPackVersionList();
    }

    public static List<PackageMjbContent> getPackageContentList(){
        return DaoHelper.getPackageVersionDaoImpl().getPackageContentList();
    }

    public static List<PackageUpdateInfo> getPackageUpdateInfoList() {
        return DaoHelper.getPackageUpdateDaoImpl().getPackageUpdateInfoList();
    }

    public static Map<String, Map<String, Map<String, List<HotfixVersion>>>> getHotfixVersionMap() {
        return DaoHelper.getHotfixVersionDaoImpl().getHotfixVersionMap();
    }

    public static Map<String, HotfixUpdateInfo> getHotfixUpdateInfoMap() {
        return DaoHelper.getHotfixVersionDaoImpl().getHotfixUpdateInfoMap();
    }
}
